package Homework.Homework03;
/*
    抽象套餐类
 */
public abstract class Collect {
    protected int monthlyRate;

    public Collect() {
    }

    public Collect(int monthlyRate) {
        this.monthlyRate = monthlyRate;
    }
    public abstract void show();

    public int getMonthlyRate() {
        return monthlyRate;
    }

    public void setMonthlyRate(int monthlyRate) {
        this.monthlyRate = monthlyRate;
    }
}
